//
//  ServiceConnector.h
//  POS
//
//  Created by sigma xu on 5/6/13.
//  Copyright (c) 2013 sigma xu. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "AppDelegate.h"
@protocol ServiceConnectorDelegate <NSObject>
    -(void)requestReturnedData:(NSData*)data;
@end
@interface ServiceConnector : NSObject <NSURLConnectionDelegate,NSURLConnectionDataDelegate>
@property (strong,nonatomic) id <ServiceConnectorDelegate> delegate;
//@property (nonatomic, retain) NSMutableData *receivedData1;
-(void)test_connection;
-(void)syncDB;
-(void)post_sales_order:(NSString*)so_id;
-(void)post_sales_order_item_list:(NSString*)so_id;
@end
